package com.bugsnag.ohos;

import java.util.Map;

/**
 * DeliveryParams
 *
 * @since 2021-07-01
 */
public class DeliveryParams {
    /**
     * The endpoint to which the payload should be sent
     */
    String endpoint;

    /**
     * The HTTP headers which must be attached to the request
     */
    Map<String, String> headers;

    /**
     * constructor
     *
     * @param endpoint
     * @param headers
     */
    public DeliveryParams(String endpoint, Map<String, String> headers) {
        this.endpoint = endpoint;
        this.headers = headers;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public Map<String, String> getHeaders() {
        return headers;
    }

    public void setHeaders(Map<String, String> headers) {
        this.headers = headers;
    }
}
